<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>04-js中的数据类型</title>
</head>
<body>
<script>
    var a = 10;
    console.log(typeof a);
    var b = 3.33;
    console.log(typeof b);
    var c = "";
    console.log(typeof c);
    var d = "zyh";
    console.log(typeof d);
    var e = true;
    var f = false;
    console.log(typeof e, typeof f);
    var g = null;
    console.log(typeof g);
    var h = 10 / 0;
    console.log(h);
    console.log(typeof h);
    var i = -10 / 0;
    console.log(i);
    console.log(typeof i);
    var j = 10 / "abc";
    console.log(j);
    console.log(typeof j);
</script>
</body>
</html>